/*
 * 
 *
 * Authors: Soeren Gebbert, soeren.gebbert@vti.bund.de
 *          Axel Don, axel.don@vti.bund.de
 *
 * Copyright:
 *
 * Johann Heinrich von Thünen-Institut
 * Institut für Agrarrelevante Klimaforschung
 *
 * Phone: +49 (0)531 596 2601
 *
 * Fax:+49 (0)531 596 2699
 *
 * Mail: ak@vti.bund.de
 *
 * Bundesallee 50
 * 38116 Braunschweig
 * Germany
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#include "particle_base.h"

/* -------------------------------------------------------------------------- */
particle_base::particle_base() {
    this->init_params = NULL;
    this->run_params = NULL;
}
/* -------------------------------------------------------------------------- */
particle_base::particle_base(initial_parameters *init_params) {
    this->init_params = init_params;
    this->run_params = NULL;
}
/* -------------------------------------------------------------------------- */
particle_base::particle_base(initial_parameters *init_params, runtime_parameters *run_params) {
    this->init_params = init_params;
    this->run_params = run_params;
}
/* -------------------------------------------------------------------------- */
void particle_base::set_runtime_parameters(runtime_parameters *run_params) {
    this->run_params = run_params;
}
/* -------------------------------------------------------------------------- */
runtime_parameters * particle_base::get_runtime_parameters() {
    return this->run_params;
}
/* -------------------------------------------------------------------------- */
void particle_base::set_initial_parameters(initial_parameters *init_params) {
    this->init_params = init_params;
}
/* -------------------------------------------------------------------------- */
initial_parameters * particle_base::get_initial_parameters() {
    return this->init_params;
}
